<%@ page language ="java"%>

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<tiles:insert definition="BaseTemplateDef">
	<%String module = request.getParameter("module");
	 	if(module==null&& request.getAttribute("module") != null){
	 	module = request.getAttribute("module").toString();
	 	}	
	 	
		if(module==null){
	%>
	
			 <tiles:put name="title"  value ="Menu"/>	
		 	<tiles:put name="content" value ="../common/Blank.jsp?validate=1"/>
		 	
	 	<%}else if(module.equalsIgnoreCase("listing")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Listing"/>	
			<tiles:put name="content" value ="../common/CommonListing.jsp?validate=1"/>
	 	
	 	<%}else if(module.equalsIgnoreCase("assay")){
	 	 %>
			<tiles:put name="title"  value ="Assay Report"/>	
		 	<tiles:put name="content" value ="../Delivery/AssayReport.jsp?validate=1"/>
	 	
	 	
	 	<%}else if(module.equalsIgnoreCase("sip")){
	 	 %>
			<tiles:put name="title"  value ="SIP"/>	
		 	<tiles:put name="content" value ="../Investment/Sip.jsp?validate=1"/>
	 	
	 	
	 	<%}else if(module.equalsIgnoreCase("ncd")){
	 	 %>
			<tiles:put name="title"  value ="NCD"/>	
		 	<tiles:put name="content" value ="../Investment/Ncd.jsp?validate=1"/>
	 	
	 	<%}else if(module.equalsIgnoreCase("ulip")){
	 	 %>
			<tiles:put name="title"  value ="ULIP"/>	
		 	<tiles:put name="content" value ="../Investment/Ulip.jsp?validate=1"/>
	 	
	 	<%}else if(module.equalsIgnoreCase("lic")){
	 	 %>
			<tiles:put name="title"  value ="LIC"/>	
		 	<tiles:put name="content" value ="../Investment/Lic.jsp?validate=1"/>
	 		 	
	 	<%}else if(module.equalsIgnoreCase("fixeddeposit")){
	 	 %>
	 	 	<tiles:put name="title"  value ="Fixed Deposit"/>	
		 	<tiles:put name="content" value ="../Investment/FixedDeposit.jsp?validate=1"/>			
	 	

	 	<%}else if(module.equalsIgnoreCase("mediclam")){
	 	 %>
	 	 	<tiles:put name="title"  value ="Mediclam"/>	
		 	<tiles:put name="content" value ="../Investment/Mediclam.jsp?validate=1"/>			
	 		 	
	 	<%}else if(module.equalsIgnoreCase("userListing")){
	 	 %>
	 	
			<tiles:put name="title"  value ="User Listing"/>	
			<tiles:put name="content" value ="../setup/UserListing.jsp?validate=1"/>
		
		
	 	<%}else if(module.equalsIgnoreCase("customerListing")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Customer Listing"/>	
			<tiles:put name="content" value ="../setup/CustomerListing.jsp?validate=1"/>
		
	 	<%}else if(module.equalsIgnoreCase("purchase")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Purchase Entry"/>	
			<tiles:put name="content" value ="../transactions/PurchaseEntry.jsp?validate=1"/>
					
		<%}else if(module.equalsIgnoreCase("purchaseListing")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Purchase Listing"/>	
			<tiles:put name="content" value ="../transactions/PurchaseListing.jsp?validate=1"/>
			
		<%}else if(module.equalsIgnoreCase("purchaseDet")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Purchase Details"/>	
			<tiles:put name="content" value ="../transactions/PurchaseDetails.jsp?validate=1"/>
		
		<%}else if(module.equalsIgnoreCase("purchaseView")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Purchase Details View"/>	
			<tiles:put name="content" value ="../transactions/PurchaseEntryView.jsp?validate=1"/>
		
		<%}else if(module.equalsIgnoreCase("notificationListing")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Notification Listing"/>	
			<tiles:put name="content" value ="../notification/NotificationListing.jsp?validate=1"/>
		
		
		<%}else if(module.equalsIgnoreCase("notification")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Alert Listing"/>	
			<tiles:put name="content" value ="../notification/NotificationConfig.jsp?validate=1"/>
		
		
		<%}else if(module.equalsIgnoreCase("alertlisting")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Alert Listing"/>	
			<tiles:put name="content" value ="../inventoryalerts/InventoryAlertListing.jsp?validate=1"/>
		
		
		<%}else if(module.equalsIgnoreCase("inventoryalert")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Alert Config"/>	
			<tiles:put name="content" value ="../inventoryalerts/InventoryAlert.jsp?validate=1"/>
		
		
		<%}else if(module.equalsIgnoreCase("bar")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Bar Diagram"/>	
			<tiles:put name="content" value ="../examples/bar-basic.jsp?validate=1"/>
				
		<%}else if(module.equalsIgnoreCase("pie")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Bar Diagram"/>	
			<tiles:put name="content" value ="../examples/pie-basic.jsp?validate=1"/>
		
		<%}else if(module.equalsIgnoreCase("dashboard")){
	 	 %>
	 	
			<tiles:put name="title"  value ="Bar Diagram"/>	
			<tiles:put name="content" value ="../Dashboard.jsp?validate=1"/>
				
		<%} %>

	
</tiles:insert>

